package com.kensure.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 关于页面跳转的页面跳转
 * 
 * @author fankaidi
 *
 */
@Controller
@RequestMapping(value = "ht")
public class HouTaiController {

	// 首页
	@RequestMapping("{jspname}")
	public String index(@PathVariable String jspname,HttpServletRequest req, HttpServletResponse rep, Model model) {
		return "page1/houtai/"+jspname+".jsp";
	}

}
